package com.deyuanyun.pic.pbf.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CPSurveyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CPSurveyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID_ is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID_ is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID_ =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID_ <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID_ >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID_ >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID_ <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID_ <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID_ like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID_ not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID_ in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID_ not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID_ between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID_ not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNull() {
            addCriterion("CREATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNotNull() {
            addCriterion("CREATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkEqualTo(String value) {
            addCriterion("CREATE_REMARK =", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotEqualTo(String value) {
            addCriterion("CREATE_REMARK <>", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThan(String value) {
            addCriterion("CREATE_REMARK >", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK >=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThan(String value) {
            addCriterion("CREATE_REMARK <", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK <=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLike(String value) {
            addCriterion("CREATE_REMARK like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotLike(String value) {
            addCriterion("CREATE_REMARK not like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIn(List<String> values) {
            addCriterion("CREATE_REMARK in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotIn(List<String> values) {
            addCriterion("CREATE_REMARK not in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK not between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("UPDATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("UPDATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("UPDATE_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("UPDATE_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("UPDATE_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("UPDATE_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("UPDATE_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("UPDATE_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("UPDATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("UPDATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("UPDATE_USER =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("UPDATE_USER <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("UPDATE_USER >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("UPDATE_USER <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("UPDATE_USER like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("UPDATE_USER not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("UPDATE_USER in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("UPDATE_USER not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("UPDATE_USER between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("UPDATE_USER not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNull() {
            addCriterion("UPDATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNotNull() {
            addCriterion("UPDATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkEqualTo(String value) {
            addCriterion("UPDATE_REMARK =", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotEqualTo(String value) {
            addCriterion("UPDATE_REMARK <>", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThan(String value) {
            addCriterion("UPDATE_REMARK >", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK >=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThan(String value) {
            addCriterion("UPDATE_REMARK <", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK <=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLike(String value) {
            addCriterion("UPDATE_REMARK like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotLike(String value) {
            addCriterion("UPDATE_REMARK not like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIn(List<String> values) {
            addCriterion("UPDATE_REMARK in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotIn(List<String> values) {
            addCriterion("UPDATE_REMARK not in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK not between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("DELETED is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("DELETED is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Short value) {
            addCriterion("DELETED =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Short value) {
            addCriterion("DELETED <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Short value) {
            addCriterion("DELETED >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Short value) {
            addCriterion("DELETED >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Short value) {
            addCriterion("DELETED <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Short value) {
            addCriterion("DELETED <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Short> values) {
            addCriterion("DELETED in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Short> values) {
            addCriterion("DELETED not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Short value1, Short value2) {
            addCriterion("DELETED between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Short value1, Short value2) {
            addCriterion("DELETED not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andVsersionIsNull() {
            addCriterion("VSERSION is null");
            return (Criteria) this;
        }

        public Criteria andVsersionIsNotNull() {
            addCriterion("VSERSION is not null");
            return (Criteria) this;
        }

        public Criteria andVsersionEqualTo(Short value) {
            addCriterion("VSERSION =", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionNotEqualTo(Short value) {
            addCriterion("VSERSION <>", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionGreaterThan(Short value) {
            addCriterion("VSERSION >", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionGreaterThanOrEqualTo(Short value) {
            addCriterion("VSERSION >=", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionLessThan(Short value) {
            addCriterion("VSERSION <", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionLessThanOrEqualTo(Short value) {
            addCriterion("VSERSION <=", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionIn(List<Short> values) {
            addCriterion("VSERSION in", values, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionNotIn(List<Short> values) {
            addCriterion("VSERSION not in", values, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionBetween(Short value1, Short value2) {
            addCriterion("VSERSION between", value1, value2, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionNotBetween(Short value1, Short value2) {
            addCriterion("VSERSION not between", value1, value2, "vsersion");
            return (Criteria) this;
        }

        public Criteria andTrenchIdIsNull() {
            addCriterion("TRENCH_ID is null");
            return (Criteria) this;
        }

        public Criteria andTrenchIdIsNotNull() {
            addCriterion("TRENCH_ID is not null");
            return (Criteria) this;
        }

        public Criteria andTrenchIdEqualTo(String value) {
            addCriterion("TRENCH_ID =", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdNotEqualTo(String value) {
            addCriterion("TRENCH_ID <>", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdGreaterThan(String value) {
            addCriterion("TRENCH_ID >", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdGreaterThanOrEqualTo(String value) {
            addCriterion("TRENCH_ID >=", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdLessThan(String value) {
            addCriterion("TRENCH_ID <", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdLessThanOrEqualTo(String value) {
            addCriterion("TRENCH_ID <=", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdLike(String value) {
            addCriterion("TRENCH_ID like", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdNotLike(String value) {
            addCriterion("TRENCH_ID not like", value, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdIn(List<String> values) {
            addCriterion("TRENCH_ID in", values, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdNotIn(List<String> values) {
            addCriterion("TRENCH_ID not in", values, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdBetween(String value1, String value2) {
            addCriterion("TRENCH_ID between", value1, value2, "trenchId");
            return (Criteria) this;
        }

        public Criteria andTrenchIdNotBetween(String value1, String value2) {
            addCriterion("TRENCH_ID not between", value1, value2, "trenchId");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityIsNull() {
            addCriterion("SOIL_RESISTIVITY is null");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityIsNotNull() {
            addCriterion("SOIL_RESISTIVITY is not null");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityEqualTo(BigDecimal value) {
            addCriterion("SOIL_RESISTIVITY =", value, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityNotEqualTo(BigDecimal value) {
            addCriterion("SOIL_RESISTIVITY <>", value, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityGreaterThan(BigDecimal value) {
            addCriterion("SOIL_RESISTIVITY >", value, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SOIL_RESISTIVITY >=", value, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityLessThan(BigDecimal value) {
            addCriterion("SOIL_RESISTIVITY <", value, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SOIL_RESISTIVITY <=", value, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityIn(List<BigDecimal> values) {
            addCriterion("SOIL_RESISTIVITY in", values, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityNotIn(List<BigDecimal> values) {
            addCriterion("SOIL_RESISTIVITY not in", values, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SOIL_RESISTIVITY between", value1, value2, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andSoilResistivityNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SOIL_RESISTIVITY not between", value1, value2, "soilResistivity");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialIsNull() {
            addCriterion("FREE_CORROSION_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialIsNotNull() {
            addCriterion("FREE_CORROSION_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialEqualTo(BigDecimal value) {
            addCriterion("FREE_CORROSION_POTENTIAL =", value, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialNotEqualTo(BigDecimal value) {
            addCriterion("FREE_CORROSION_POTENTIAL <>", value, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialGreaterThan(BigDecimal value) {
            addCriterion("FREE_CORROSION_POTENTIAL >", value, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("FREE_CORROSION_POTENTIAL >=", value, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialLessThan(BigDecimal value) {
            addCriterion("FREE_CORROSION_POTENTIAL <", value, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialLessThanOrEqualTo(BigDecimal value) {
            addCriterion("FREE_CORROSION_POTENTIAL <=", value, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialIn(List<BigDecimal> values) {
            addCriterion("FREE_CORROSION_POTENTIAL in", values, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialNotIn(List<BigDecimal> values) {
            addCriterion("FREE_CORROSION_POTENTIAL not in", values, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FREE_CORROSION_POTENTIAL between", value1, value2, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andFreeCorrosionPotentialNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FREE_CORROSION_POTENTIAL not between", value1, value2, "freeCorrosionPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialIsNull() {
            addCriterion("ON_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andOnPotentialIsNotNull() {
            addCriterion("ON_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andOnPotentialEqualTo(BigDecimal value) {
            addCriterion("ON_POTENTIAL =", value, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialNotEqualTo(BigDecimal value) {
            addCriterion("ON_POTENTIAL <>", value, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialGreaterThan(BigDecimal value) {
            addCriterion("ON_POTENTIAL >", value, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ON_POTENTIAL >=", value, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialLessThan(BigDecimal value) {
            addCriterion("ON_POTENTIAL <", value, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ON_POTENTIAL <=", value, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialIn(List<BigDecimal> values) {
            addCriterion("ON_POTENTIAL in", values, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialNotIn(List<BigDecimal> values) {
            addCriterion("ON_POTENTIAL not in", values, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ON_POTENTIAL between", value1, value2, "onPotential");
            return (Criteria) this;
        }

        public Criteria andOnPotentialNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ON_POTENTIAL not between", value1, value2, "onPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialIsNull() {
            addCriterion("POLARIZED_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialIsNotNull() {
            addCriterion("POLARIZED_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialEqualTo(BigDecimal value) {
            addCriterion("POLARIZED_POTENTIAL =", value, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialNotEqualTo(BigDecimal value) {
            addCriterion("POLARIZED_POTENTIAL <>", value, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialGreaterThan(BigDecimal value) {
            addCriterion("POLARIZED_POTENTIAL >", value, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("POLARIZED_POTENTIAL >=", value, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialLessThan(BigDecimal value) {
            addCriterion("POLARIZED_POTENTIAL <", value, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialLessThanOrEqualTo(BigDecimal value) {
            addCriterion("POLARIZED_POTENTIAL <=", value, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialIn(List<BigDecimal> values) {
            addCriterion("POLARIZED_POTENTIAL in", values, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialNotIn(List<BigDecimal> values) {
            addCriterion("POLARIZED_POTENTIAL not in", values, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("POLARIZED_POTENTIAL between", value1, value2, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andPolarizedPotentialNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("POLARIZED_POTENTIAL not between", value1, value2, "polarizedPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialIsNull() {
            addCriterion("MAX_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialIsNotNull() {
            addCriterion("MAX_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialEqualTo(BigDecimal value) {
            addCriterion("MAX_POTENTIAL =", value, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialNotEqualTo(BigDecimal value) {
            addCriterion("MAX_POTENTIAL <>", value, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialGreaterThan(BigDecimal value) {
            addCriterion("MAX_POTENTIAL >", value, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MAX_POTENTIAL >=", value, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialLessThan(BigDecimal value) {
            addCriterion("MAX_POTENTIAL <", value, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MAX_POTENTIAL <=", value, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialIn(List<BigDecimal> values) {
            addCriterion("MAX_POTENTIAL in", values, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialNotIn(List<BigDecimal> values) {
            addCriterion("MAX_POTENTIAL not in", values, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MAX_POTENTIAL between", value1, value2, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMaxPotentialNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MAX_POTENTIAL not between", value1, value2, "maxPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialIsNull() {
            addCriterion("MIN_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andMinPotentialIsNotNull() {
            addCriterion("MIN_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andMinPotentialEqualTo(BigDecimal value) {
            addCriterion("MIN_POTENTIAL =", value, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialNotEqualTo(BigDecimal value) {
            addCriterion("MIN_POTENTIAL <>", value, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialGreaterThan(BigDecimal value) {
            addCriterion("MIN_POTENTIAL >", value, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MIN_POTENTIAL >=", value, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialLessThan(BigDecimal value) {
            addCriterion("MIN_POTENTIAL <", value, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MIN_POTENTIAL <=", value, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialIn(List<BigDecimal> values) {
            addCriterion("MIN_POTENTIAL in", values, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialNotIn(List<BigDecimal> values) {
            addCriterion("MIN_POTENTIAL not in", values, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MIN_POTENTIAL between", value1, value2, "minPotential");
            return (Criteria) this;
        }

        public Criteria andMinPotentialNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MIN_POTENTIAL not between", value1, value2, "minPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialIsNull() {
            addCriterion("AC_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andAcPotentialIsNotNull() {
            addCriterion("AC_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andAcPotentialEqualTo(BigDecimal value) {
            addCriterion("AC_POTENTIAL =", value, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialNotEqualTo(BigDecimal value) {
            addCriterion("AC_POTENTIAL <>", value, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialGreaterThan(BigDecimal value) {
            addCriterion("AC_POTENTIAL >", value, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AC_POTENTIAL >=", value, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialLessThan(BigDecimal value) {
            addCriterion("AC_POTENTIAL <", value, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AC_POTENTIAL <=", value, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialIn(List<BigDecimal> values) {
            addCriterion("AC_POTENTIAL in", values, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialNotIn(List<BigDecimal> values) {
            addCriterion("AC_POTENTIAL not in", values, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AC_POTENTIAL between", value1, value2, "acPotential");
            return (Criteria) this;
        }

        public Criteria andAcPotentialNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AC_POTENTIAL not between", value1, value2, "acPotential");
            return (Criteria) this;
        }

        public Criteria andRecrderIsNull() {
            addCriterion("RECRDER is null");
            return (Criteria) this;
        }

        public Criteria andRecrderIsNotNull() {
            addCriterion("RECRDER is not null");
            return (Criteria) this;
        }

        public Criteria andRecrderEqualTo(String value) {
            addCriterion("RECRDER =", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderNotEqualTo(String value) {
            addCriterion("RECRDER <>", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderGreaterThan(String value) {
            addCriterion("RECRDER >", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderGreaterThanOrEqualTo(String value) {
            addCriterion("RECRDER >=", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderLessThan(String value) {
            addCriterion("RECRDER <", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderLessThanOrEqualTo(String value) {
            addCriterion("RECRDER <=", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderLike(String value) {
            addCriterion("RECRDER like", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderNotLike(String value) {
            addCriterion("RECRDER not like", value, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderIn(List<String> values) {
            addCriterion("RECRDER in", values, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderNotIn(List<String> values) {
            addCriterion("RECRDER not in", values, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderBetween(String value1, String value2) {
            addCriterion("RECRDER between", value1, value2, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecrderNotBetween(String value1, String value2) {
            addCriterion("RECRDER not between", value1, value2, "recrder");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNull() {
            addCriterion("RECORD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNotNull() {
            addCriterion("RECORD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeEqualTo(Date value) {
            addCriterion("RECORD_TIME =", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotEqualTo(Date value) {
            addCriterion("RECORD_TIME <>", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThan(Date value) {
            addCriterion("RECORD_TIME >", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME >=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThan(Date value) {
            addCriterion("RECORD_TIME <", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME <=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIn(List<Date> values) {
            addCriterion("RECORD_TIME in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotIn(List<Date> values) {
            addCriterion("RECORD_TIME not in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME not between", value1, value2, "recordTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}